package arabicScrabble;

import java.awt.Color;
import java.awt.Graphics;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;
import javax.swing.ImageIcon;

public class TripleLetterSquare extends Square {

	public TripleLetterSquare(int x, int y) {
		super(x, y);
	
	

		super.bigBonus = false;
		bonus = 3;
	
		
super.colour = Color.RED;
	super.setBackground(colour);
	
	}
	
	public TripleLetterSquare(int x, int y, String imagePath) {
		super(x, y);
		// TODO Auto-generated constructor stub
		
		super.bigBonus = false;
		bonus = 3;
		
		try {

			// System.out.print("---hello----"+imagePath);
			img = ImageIO.read(new File(imagePath));
		} catch (IOException e) {
			System.out.println("This Image Doesn't Exist: \n\t\t" + imagePath);
		}
		
		//super.colour = Color.RED;
//	super.setBackground(colour);
	
	}
	

	@Override
	public void paint(Graphics g) {
		// TODO Auto-generated method stub
		super.paint(g);
		//g.drawImage(img, 0, 0, this.getWidth(), this.getHeight(), null);
		
	}
	
}
